﻿using Abp.Domain.Repositories;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace MyCompanyName.AbpZeroTemplate.Prm.Project
{
    public class ProjectTaskManager : AbpZeroTemplateDomainServiceBase
    {
        public IRepository<ProjectTask, int> _projectTaskRepository { get; private set; }
        public IRepository<ProjectTaskAttachment, int> _projectTaskAttachmentRepository { get; private set; }
        public IRepository<ProjectTaskMember, int> _projectTaskMemberRepository { get; private set; }
        //public IRepository<ProjectTaskRole, int> _projectTaskRoleRepository { get; private set; }
        public IRepository<ProjectTaskFollower, int> _projectTaskFollowerRepository { get; private set; }
        public IRepository<ProjectTaskSubTask, int> _projectTaskSubTaskRepository { get; private set; }


        public ProjectTaskManager(
            IRepository<ProjectTask, int> projectTaskRepository,
            IRepository<ProjectTaskAttachment, int> projectTaskAttachmentRepository,
            IRepository<ProjectTaskMember, int> projectTaskMemberRepository,
            //IRepository<ProjectTaskRole, int> projectTaskRoleRepository,
            IRepository<ProjectTaskFollower, int> projectTaskFollowerRepository,
            IRepository<ProjectTaskSubTask, int> projectTaskSubTaskRepository)
        {
            _projectTaskRepository = projectTaskRepository;
            _projectTaskAttachmentRepository = projectTaskAttachmentRepository;
            _projectTaskMemberRepository = projectTaskMemberRepository;
            //_projectTaskRoleRepository = projectTaskRoleRepository;
            _projectTaskFollowerRepository = projectTaskFollowerRepository;
            _projectTaskSubTaskRepository = projectTaskSubTaskRepository;
        }
    }
}
